package com.yy.invoice.service;

import com.yy.invoice.entity.Invoice;
import com.yy.invoice.entity.Result;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface FileService {

    Result upload(MultipartFile[] files,String month, HttpServletRequest request);

    Result toExcel(List<Invoice> invoices, HttpServletRequest request);

    Result pdfs2Pdf(List<Invoice> invoices, HttpServletRequest request);

    Result getZip(List<Invoice> invoices, HttpServletRequest request);
}
